export default {
  getTable: () => {
    return {
      code: 200,
      data: {
        tableData: [
          {
            name: 'Java',
            todayBuy: 100,
            monthBuy: 200,
            totalBuy: 300
          },
          {
            name: 'Python',
            todayBuy: 100,
            monthBuy: 200,
            totalBuy: 300
          },
        ]
      }
    }
  },
  getCountData: () => {
    return {
      code: 200,
      data: {
        countData: [
          {
            name: '本月支付订单',
            value: 1234,
            icon: 'SuccessFilled',
            color: '#2ec7c9'
          },
          {
            name: '本月收藏订单',
            value: 210,
            icon: 'StarFilled',
            color: '#ffb980',
          },
          {
            name: '本月未支付订单',
            value: 369,
            icon: 'GoodsFilled',
            color: '#5ab1ef',
          },
          {
            name: '本月支付订单',
            value: 12345,
            icon: 'SuccessFilled',
            color: '#2ec7c9'
          },
          {
            name: '本月收藏订单',
            value: 2101,
            icon: 'StarFilled',
            color: '#ffb980',
          },
          {
            name: '本月未支付订单',
            value: 3690,
            icon: 'GoodsFilled',
            color: '#5ab1ef',
          },

        ]
      }
    }
  },
  getChartData: () => {
    return {
      code: 200,
      data: {
        orderData: {
          date: [
            '2023-01-01',
            '2023-01-02',
            '2023-01-03',
            '2023-01-04',
            '2023-01-05',
          ],
          data:[
            {
              '苹果':5890,
              '小米':3560,
              '华为':6200,
              'OPPO':2100,
              'VIVO':5000,
            },
            {
              '苹果':1890,
              '小米':5560,
              '华为':8200,
              'OPPO':6100,
              'VIVO':2000,
            },
            {
              '苹果':3990,
              '小米':1060,
              '华为':6600,
              'OPPO':2000,
              'VIVO':6000,
            },
            {
              '苹果':4090,
              '小米':5960,
              '华为':6500,
              'OPPO':4000,
              'VIVO':5700,
            }
          ]
        },
        videoData:[
          {name:'小米',value:3999},
          {name:'华为',value:5999},
          {name:'苹果',value:6999},
          {name:'OPPO',value:4999},
          {name:'VIVO',value:4999},
        ],
        userData:[
          {date:'周一',new:5,active:200},
          {date:'周二',new:10,active:400},
          {date:'周三',new:15,active:600},
          {date:'周四',new:20,active:800},
          {date:'周五',new:25,active:1000},
        ]
      }
    }

  }
}
